export default {
  namespaced: true,
  state: {
    HighSeaslist: [], //公海列表
    OuterZoneList: [], //外区商机列表
    PrivateSealist: [], //私海列表
    Temporarylist: [], //临时库列表
    Silentlist: [], //沉寂库列表
    HpageNumMax: 1, //最大页数
    OpageNumMax: 1, //最大页数
    PpageNumMax: 1, //最大页数
    TpageNumMax: 1, //最大页数
    SpageNumMax: 1, //最大页数
    businessOpportunityGroupId: null,
    businessId:"",//商品详情ID
  },
  mutations: {
    set_state: (state, data) => { 
      state[data.key] = data.value;
    },
    push_list: (state, data) => {
      data.value.forEach((item) => {
        state[data.key].push(item);
      });
    },
    get_groupId: (state, data) => {
      state.businessOpportunityGroupId = data.value;
    },
  },
  actions: {},
};
